install-plugin
目的 Purpose
Installs a plugin from the Grails central SVN repository, a file, or a URLDEPRECATED: The install-plugin command is deprecatedPlugins should be installed by listing them in BuildConfig.groovy with the appropriate scope instead of using install-plugin.
使用例 Examples
grails install-plugin shiro grails install-plugin shiro 1.1 grails install-plugin ../grails-bar-1.0.zip grails install-plugin http://foo.com/grails-bar-1.0.zip
詳細 Description
使用方法: Usage:
grails install-plugin [name] [version]* grails install-plugin [URL/File]
Fired Events:
StatusUpdate
- Fired at various points during the plugin installationStatusError
- When an error occurs during plugin installationStatusFinal
- When the plugin is installed successfullyPluginInstalled
- When the plugin is installed successfully
install-plugin
command is a versatile command that installs plugins from the Grails central SVN repository at http://svn.codehaus.org/grails-plugins/, a local file, or a remote URL.To install a plugin from the remote central repository, for example the "shiro" plugin, use the install-plugin
command followed by the plugin name:grails install-plugin shiro
grails install-plugin shiro 1.1
grails install-plugin http://foo.com/grails-bar-1.0.zip
grails install-plugin ../grails-bar-1.0.zip